home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d13 / stistics.arc / LONG-T.DOC < prev    next >
Text File  |  1988-07-24  |  3KB  |  53 lines

  1.                  LONG-T  (Student's T-test, long version)
  2.  
  3. AIM:  This is the standard T-test, used to compare sample means between two 
  4. groups with any number in each group.  This is a highly useful program, and 
  5. it  is  unique in that two different tests are applied.  That  is,  if  the 
  6. variances  of  the  two  groups are equal (as tested  by  the  F-ratio),  a 
  7. standard  T-test  formula  is applied.  If the  variances  are  unequal,  a 
  8. special formula for the T-test is applied.  
  9.  
  10. Input of data can be from the keyboard, or from a data file created in  the 
  11. NON-DOCUMENT mode of WordStar, as shown below.  Input from the keyboard  is 
  12. also  described below.  For either keyboard or datafile input, the user  is 
  13. first  asked if the results are to be sent to the screen only, or both  the 
  14. screen and printer.  If printer output is selected, the user has the option 
  15. of having just the results, or both the results AND the raw data printed.  
  16.  
  17. Next,  a  title for your run is input (date,  animal  identification  data, 
  18. etc.).   Following this, the user is asked for the N in group 1.  Data  for 
  19. group  1 is then entered.  When the last item in group 1 is entered,  an  N 
  20. for group 2 is asked for, followed by the input of group 2 data. 
  21.  
  22. EXAMPLE:   Two  groups  of  embryos were  measured  for  crown-rump  length 
  23. (millimeters).   One  group  had been given a teratogen;  the  others  were 
  24. normal  controls.   The sample output on the back of this sheet  shows  the 
  25. individual numbers for the two groups (ten embryos in each group).
  26.  
  27. Note  that  the program gives a calculated T-value, an exact  P-value,  and 
  28. statements  concerning significance (or lack of it) at both the 95 and  99% 
  29. levels.  
  30.  
  31. SAMPLE FORMAT FOR DATA FILE    <== Title, up to 65 characters of any kind.
  32. 5                              <== N1
  33. 2.032                          <== X value 1
  34. 1.5                            <== X value 2
  35. 1.6                            <== .
  36. 1.95                           <== .
  37. 1.99                           <== X value N1
  38. 5                              <== N2
  39. 3.124                          <== Y value 1
  40. 1.217                          <== Y value 2
  41. 0.984                          <== .
  42. 1.5                            <== .
  43. 1.4                            <== Y value N2
  44.  
  45. REFERENCE:   Mather,  K.  1951  Statistical Analysis in  Biology.   Methuen 
  46.              and Company, Ltd., London.  Page 56-57.
  47.  
  48. FORTRAN VERSION: Dr. Stanley Kaplan  May 65
  49. BASIC VERSION:   Dr. Stanley Kaplan  Jul 81
  50. PASCAL VERSION:  Dr. Stanley Kaplan  Sep 85
  51. UPDATES:                             Oct 86 (Version 2.00)             
  52.                                      Feb 87 (Version 2.10)
  53.                                      Feb 88 (MS-DOS, Version 2.2)